package com.aerotechnic.entities;

import java.util.HashSet;
import java.util.Set;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.OneToMany;
import javax.persistence.Table;

@Entity
@Table(name = "AVION")
public class Avion extends BaseEntity{

	
	private static final long serialVersionUID = 1L;
	
	@Column(name = "DESIGNATION")
	private String designation;
	@Column(name = "MATRICULE")
	private String matricule;
	@Column(name = "COMPAGNIE")
	private String compAe;
	@Column(name = "TYPE")
	private String type;
	
	public String getDesignation() {
		return designation;
	}
	public void setDesignation(String designation) {
		this.designation = designation;
	}
	public String getMatricule() {
		return matricule;
	}
	public void setMatricule(String matricule) {
		this.matricule = matricule;
	}
	public String getCompAe() {
		return compAe;
	}
	public void setCompAe(String compAe) {
		this.compAe = compAe;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	@Override
	public String toString() {
		return "Avion [designation=" + designation + ", matricule=" + matricule
				+ ", compAe=" + compAe + ", type=" + type + ", id=" + id + "]";
	}
	
	
}
